<template>
	<view>
		<view class="head">
			<text>{{title}}</text>
			<navigator :url="'../../pages/course/list?want='+more">
				<button type="default" size="mini">更多</button>
			</navigator>
		</view>
		<view class="list">
			<text v-if="!list">您要找的信息暂无</text>
				<block v-else v-for='item in list' :key='item.id'>
					<videoitem :title='item.title'
					:note='item.content'
					:rightText='item.desc'
					:thumb='item.imgUrl'
					:url='"../../pages/course/detail?vid="+item.id'
					></videoitem>
				</block>
		</view>
	</view>
</template>

<script>
	import videoitem from '../../components/course-video/video-list-item.vue'
	export default {
		components:{
			videoitem
		},
		data() {
			return {
				
			};
		},
		props:[
			'title',
			'more',
			'list',
		]
	}
</script>

<style>
/*总体主盒子*/

.head{
  padding-top: 20rpx;
  position: relative;
  text-align: center;
  font-size: 50rpx;
}
.head button{
  display: inline;
  position: absolute;
  right: 50rpx;
  bottom: 10rpx;
}



</style>
